App-based exercise rehabilitation